package com.bestcem.xm.txtanls.enums;

import lombok.Getter;

/**
 * 周期类型
 * @author jy.zhao
 * @version 1.2
 * @date 2021/11/15 13:55
 **/
@Getter
public enum PeriodTypeEnum {
    /*
     * 本期
     */
    CURRENT("本期", 0),
    /*
     * 上期
     */
    LAST("上期", 1);

    private final String name;

    private final int index;

    PeriodTypeEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
